import request from "@/utils/request";
import type { LoginInfoQuery, LoginInfoVO } from "./types";
import type { AxiosPromise } from "axios";

// 查询登录日志列表
export function list(query: LoginInfoQuery): AxiosPromise<LoginInfoVO[]> {
  return request({
    url: "/monitor/logininfor/web/list",
    method: "get",
    params: query,
  });
}
